package com.zengqingfa.springbootjspdemo.jsp;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zengqingfa
 * @date 2019/11/19 13:27
 * @description
 * @email zengqingfa_java@163.com
 */
@Controller
public class IndexController {

    @RequestMapping("/index")
    public String index(Model model){
        model.addAttribute("mgs","springboot-jsp");
        return "index";
    }


}